package com.qf.agro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.agro.pojo.SysModule;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 10202
 * @version V1.0
 * @Project smart-agriculture-parent
 * @Package com.qf.agro.mapper
 * @Date 2023/5/22 17:54
 */
@Mapper
public interface SysModuleMapper extends BaseMapper<SysModule> {
    List<SysModule> getListMenuList(Long id);

    List<Long> getRoleMessage(Long roleId);

    boolean deleteModleByRoleId(String roleId);

    boolean updateByRoleId(String roleId, String moduleId);
}
